import 'package:demo202112/utils/common_appbar.dart';
import 'package:flutter/material.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
/// @Author wywinstonwy
/// @Date 2022/10/6 19:14
/// @Description: 

class WySmartDialog extends StatefulWidget {
  const WySmartDialog({Key? key}) : super(key: key);

  @override
  State<WySmartDialog> createState() => _WySmartDialogState();
}

class _WySmartDialogState extends State<WySmartDialog> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: getAppBar("SmartDialog"),
        body: Column(children: [
          ElevatedButton(onPressed: () {

          }, child: Text('弹框')),
        ],),
    );
  }
  void showToast(){
        SmartDialog.showLoading(msg: "test");
  }

}
